package com.gla.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 订单
 */
@Data
public class Order {
    public static final int PLACED = 0;
    public static final int PAID = 1;
    public static final int SHIPPED = 2;
    public static final int RECEIVED = 3;
    public static final int EVALUATED = 4;
    public static final int CANCELED = -1;
    public static final int CHARGEBACK = -2;
    public static final int REFUNDED = -3;
    private Integer id;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date create_time;

    private Integer state;

    private String receive_address;

    private Integer user_id;

    private String remarks;
}
